import datetime
import time
today = datetime.datetime.now().date()

date =today-datetime.timedelta(days=30)
print(date,2222)
print(time.mktime(date.timetuple()))